// 新建的main.dart文件
import 'package:flutter/material.dart';
import 'level_selection_screen.dart';
import 'math_brick_game.dart';
import 'level_manager.dart';

void main() {
  runApp(MathLearnApp());
}

class MathLearnApp extends StatelessWidget {
  final LevelManager level1Manager = LevelManager();

  MathLearnApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: '数学学习',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: LevelSelectionScreen(levelManager: level1Manager),
    );
  }
}
